package cn.xgxd.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    @TableId( type= IdType.ID_WORKER_STR)
    private String id;
    private String username;
    private String password;
    private String phone;
    private String address;
    private int admin;
    private String name;

}
